package com.creative.xcx.domain;

import lombok.*;
import com.creative.core.page.PageDomain;
import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;



/**
 * @description 用户收藏
 * @author ling
 * @date 2025-03-23
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Builder
@ToString(callSuper = true)
@ExcelIgnoreUnannotated
public class UserFavorite  extends PageDomain implements Serializable {
    /**
     * 收藏编号
     */
    @JsonProperty("id")
    @ExcelProperty("收藏编号")
    private Long id;

    /**
     * 用户编号
     */
    @ExcelProperty("用户编号")
    private String userId;

    /**
     * 素材编号
     */
    @ExcelProperty("素材编号")
    private String materialId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty("创建时间")
    private Date createTime;

}